//
//  AppPageView.h
//  Helper
//
//  Created by nsm on 2019/4/18.
//  Copyright © 2019 nani. All rights reserved.
//

#import <NSMKit/NSMKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface AppPageView : NSMPageView
@property (nonatomic, copy) void(^didSelectItem)(id obj, NSIndexPath *indexPath);
@property (nonatomic, copy) void(^onHeaderSuccess)(id obj);
@property (nonatomic, strong, readonly) NSMTableView *tableView;
@property (nonatomic, strong, readonly) NSMButton *emptyBtn;

+ (instancetype)pageView:(NSString *)url param:(NSDictionary *)param;

- (void)preferredSetting;

/** 默认UITableViewStylePlain */
- (UITableViewStyle)preferredTableViewStyle;
/** 默认NO */
- (BOOL)preferredEmptyBtn;

@end

NS_ASSUME_NONNULL_END
